-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port Modular Layouts to React #4764
Conversation
BundleMonFiles updated (2)
Unchanged files (2)
Total files change +42.91KB +0.37% Final result: ✅ View report in BundleMon website ➡️ |
<div className={styles.rows} ref={componentRef}> | ||
<div | ||
className={styles.cell} | ||
style={{ height: `${100 - (resizes.bar1 + resizes.bar2!) * 100}%` }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In what instances would resizes.bar2
be null?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About half of the layouts only have one resizable bar so it has to be an optional/nullable parameter, but we know which layouts in which 2 resize bars exist so we are able to safely assert them
No description provided.